//
//  OldMeterialTableViewCell.m
//  ShoppingExperience
//
//  Created by LiYinDi on 15-5-24.
//  Copyright (c) 2015年 RuiBen. All rights reserved.
//

#import "OldMeterialTableViewCell.h"

@implementation OldMeterialTableViewCell

- (void)awakeFromNib {
    // Initialization code
    FPNumberPadView *numberPadView = [[FPNumberPadView alloc] initWithFrame:CGRectMake(0, 0, 948, 340)];
    numberPadView.FPNumberPaddelegate=self;
    numberPadView.textField = _inputTextField;
    _inputTextField.delegate=self;
}
- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField
{
    if ([self.delegate respondsToSelector:@selector(textfieldBeginEdit)]) {
        
        [self.delegate textfieldBeginEdit];
    }
    

    return YES;
}
-(void)keyBordDoneClick
{
    if ([self.delegate respondsToSelector:@selector(textFieldFinish:)]) {
        
        [self.delegate textFieldFinish:_inputTextField];
    }
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
